package com.admin.education.dataTransferObject.sponsor.Mapper;

import com.admin.education.dataTransferObject.sponsor.Request.CreateSponsorRequest;
import com.admin.education.dataTransferObject.sponsor.SponsorTransfer;
import com.admin.education.models.Sponsor;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public abstract class SponsorMapper {

    @Mappings({})
    public abstract SponsorTransfer mapFrom(Sponsor sponsor);

    @Mappings({})
    public abstract List<SponsorTransfer> mapFrom(List<Sponsor> sponsors);

    @Mappings({})
    public abstract Sponsor mapFrom(CreateSponsorRequest createSponsorRequest);
}
